﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CC98.Network.Primitives
{
    public sealed class LoginResult
    {
        internal LoginResult(bool isLoggedIn, Exception error)
        {
            this.IsLoggedIn = IsLoggedIn;
            this.Error = error;
        }

        public bool IsLoggedIn { get; private set; }

        public Exception Error { get; private set; }
    }
}
